<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加培训计划</title>
<link type="text/css" rel="stylesheet" href="css/style.css">
<script type="text/javascript" src="<%=request.getContextPath()%>/jquery-3.1.1.min.js"></script>
<script type="text/javascript">
function  checkinput(){
	<%--
	var trainTitleForAdd = $("#trainTitleForAdd").val();
	if ($.trim(trainTitleForAdd) == "") {
		alert("不能为空A");
		return false;
	}
	var trainManForAdd = $("#trainManForAdd").val();
	if ($.trim(trainManForAdd) == "" || isNaN(trainManForAdd) == true) {
		alert("不能为空");
		return false;
	}
	--%>

}
</script>
</head>
<body  background="<%=request.getContextPath()%>/images/background.jpg">
<center>
 <jsp:include page="../top.jsp" flush="true"></jsp:include>
	  <table width="800" height="48" border="0" cellpadding="0" cellspacing="0" background="<%=request.getContextPath()%>/images/center1.jpg" >
        <tr>
          <td valign="top"><table width="494">
            <tr>
              <td width="45" height="25">&nbsp;</td>
              <td width="437" valign="bottom"><a href="<%=request.getContextPath()%>/train/trainLogin"><b>培训管理</b></a>&nbsp; &gt; <font color="#FF0000"> 添加培训信息</font></td>
            </tr>
          </table></td>
        </tr>
      </table>

	<form name="addTrain"
		action="<%=request.getContextPath() %>/train/returnAddTrain"
		method="post" onsubmit="return checkinput()">
		
			 <table width="800" height="340" border="0" cellpadding="0" cellspacing="0" background="<%=request.getContextPath()%>/images/center2.jpg">
				<tr>
					<td class="style4" height="40"><div align="center">培训讲师</div></td>
					<td><input height="40" width="600" type="text" name="trainManForAdd" ><span
						style="color: red;">*</span></td>
				</tr>
				<tr>
					<td class="style4" height="40"><div align="center">培训主题</div></td>
					<td><input height="40" width="600" type="text" name="trainTitleForAdd" ><span style="color: red">*</span></td>
				</tr>
				<tr>
					<td class="style4" height="40"><div align="center">培训内容</div></td>
					<td><textarea name="trainContentForAdd" cols="22" rows="4"></textarea></td>
				</tr>
				<tr>
					<td class="style4" height="40"><div align="center">培训时间</div></td>
					<td><input height="40" width="600" type="text" name="trainTimeForAdd" ><span style="color:red">*</span>格式：yyyy-MM-dd</td>
				</tr>
				<tr>
					<td class="style4" height="40"><div align="center">培训地点</div></td>
					<td><input height="40" width="600" type="text" name="trainAddressForAdd" ></td>
				</tr>
				<tr>
					<td class="style4" height="40"><div align="center">参加培训</div></td>
					<td><input height="40" width="600" type="text" name="trainJoinForAdd" ><span>(已培训或未培训)</span></td>

				</tr>
				<tr>
					<td class="style4" height="40"><div align="center">添加备注</div></td>
				<td><textarea name="trainBzForAdd" cols="22" rows="4"></textarea></td>
				</tr>
				<tr>
					<td class="style4" height="40"><div align="center">选择操作</div></td>
					<td><input type="submit" value="提交" /> <input type="reset"
						value="取消" /> <br></td>
				</tr>
			</table>
	</form>
	 <jsp:include page="../down.jsp" flush="true" />   
	</center>
</body>
</html>
